﻿<%@ page language="C#" autoeventwireup="true" inherits="Project25175.Register, App_Web_register.aspx.7bb6c8bb" enableeventvalidation="false" %>

<%@ Register Src="~/regsiter/RHead.ascx" TagPrefix="uc1" TagName="RHead" %>
<%@ Register Src="~/regsiter/RFooter.ascx" TagPrefix="uc1" TagName="RFooter" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>软件授权</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <!-- ionicons -->
    <link href="css/ionicons/ionicons.min.css" rel="stylesheet" />
    <!-- base -->
    <link href="css/base.css" rel="stylesheet" />
</head>
<body>
    <div class="wrapper">
        <!-------------头部导航------------------>
       <uc1:RHead runat="server" id="RHead" />
        <!--/头部导航-->
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <h3 class="page-header">软件授权 <small>填写并提交先关信息，获取软件授权</small></h3>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <form name="from1" id="from1" runat="server">
                                <!-- Add.aspx -->

                                <div class="form-group">
                                    <label class=" control-label">
                                        单位名称<span class='rd'>*</span>        <asp:RequiredFieldValidator ID="rfvCustName" 
                                              runat="server" ForeColor="Red"
                                               Display="Dynamic" ErrorMessage="必填" 
                                              ControlToValidate="TxtCustName"></asp:RequiredFieldValidator>：</label>
                                    <div>
                                        <asp:TextBox ID="TxtCustName" runat="server" class="form-control"></asp:TextBox>

                                    </div>
                                
                                </div>

                      <%--          <div class="form-group">
                                    <label class=" control-label">
                                        系统域名<span class='rd'>*</span>：</label>
                                    <div>
                                        <asp:TextBox ID="TxtDomainName" runat="server" class="form-control"></asp:TextBox>
                                    </div>
                                     <div> 
                                          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                                              runat="server" ForeColor="Red"
                                               Display="Dynamic" ErrorMessage="请填写单位名称" 
                                              ControlToValidate="TxtCustName"></asp:RequiredFieldValidator>
                                     </div>
                                </div>--%>

                                <div class="form-group">
                                    <label class=" control-label">
                                        联系人<span class='rd'>*</span>        <asp:RequiredFieldValidator ID="rfvTxtContacts" 
                                              runat="server" ForeColor="Red"
                                               Display="Dynamic" ErrorMessage="必填" 
                                              ControlToValidate="TxtContacts"></asp:RequiredFieldValidator>：</label>
                                    <div>
                                        <asp:TextBox ID="TxtContacts" runat="server" class="form-control"></asp:TextBox>

                                    </div>
                                   
                                </div>

                                <div class="form-group">
                                    <label class=" control-label">
                                        QQ<span class='rd'>*</span>   <asp:RequiredFieldValidator ID="rfvQQ" 
                                              runat="server" ForeColor="Red"
                                               Display="Dynamic" ErrorMessage="必填" 
                                              ControlToValidate="TxtQQ"></asp:RequiredFieldValidator>：</label>
                                    <div>
                                        <asp:TextBox ID="TxtQQ" runat="server" class="form-control"></asp:TextBox>

                                    </div>
                                  
                                </div>

                                <div class="form-group">
                                    <label class=" control-label">
                                        手机号码<span class='rd'>*</span>  <asp:RequiredFieldValidator ID="rfvTxtTelePhone" 
                                              runat="server" ForeColor="Red"
                                               Display="Dynamic" ErrorMessage="必填" 
                                              ControlToValidate="TxtTelePhone"></asp:RequiredFieldValidator>：</label>
                                    <div>
                                        <asp:TextBox ID="TxtTelePhone" runat="server" class="form-control"></asp:TextBox>
                                    </div>
                                 
                                </div>

                                <div class="form-group">
                                    <label class=" control-label">
                                        邮箱<span class='rd'>*</span>     <asp:RequiredFieldValidator ID="rfvTxtEmail" 
                                              runat="server" ForeColor="Red"
                                               Display="Dynamic" ErrorMessage="必填" 
                                              ControlToValidate="TxtEmail"></asp:RequiredFieldValidator>：</label>
                                    <div>
                                        <asp:TextBox ID="TxtEmail" runat="server" class="form-control"></asp:TextBox>
                                    </div>
                              
                                </div>

                       <%--         <div class="form-group">
                                    <label class=" control-label">
                                        IP/MAC<span class='rd'>*</span>：</label>
                                    <div class="row">
                                        <div class="col-xs-4">
                                            <asp:TextBox ID="TxtIPName" runat="server" class="form-control " Enabled="False"></asp:TextBox>
                                        </div>
                                        <div class="col-xs-4">
                                            <asp:TextBox ID="TxtMAC" runat="server" CssClass=" form-control col-xs-4" Enabled="False"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>--%>
                               <h5 class="page-header">登录用户名和密码设置</h5>

                                <div class="form-group">
                                    <label class=" control-label">
                                        用户名<span class='rd'>*</span>
                                        <asp:RequiredFieldValidator ID="rfvt_user" runat="server" ForeColor="Red" Display="Dynamic" ErrorMessage="必填" ControlToValidate="txtt_user"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revtxtu_user" runat="server" ControlToValidate="txtt_user"
                                            ErrorMessage="最少5位（字母和数字@.组合）" ValidationExpression="^[\da-z@.]{5,}$"
                                            ForeColor="Red" Display="Dynamic"></asp:RegularExpressionValidator>：</label>
                                    <div>
                                        <asp:TextBox ID="txtt_user" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                                  
                                    </div>
                                 
                                </div>

                                <div class="form-group">
                                    <label class=" control-label">
                                        密码<span class='rd'>*</span>  <asp:RequiredFieldValidator ID="rfvt_pass" runat="server" ForeColor="Red" Display="Dynamic" ErrorMessage="必填" ControlToValidate="txtt_pass"></asp:RequiredFieldValidator>：</label>
                                    <div>
                                        <asp:TextBox ID="txtt_pass" runat="server" TextMode="Password" MaxLength="100" CssClass="form-control"></asp:TextBox>
                                    </div>
                                    
                                </div> 

                                <div class="form-group">
                                    <label class=" control-label">
                                        密码验证 <span class='rd'>*</span>  <asp:CompareValidator ID="cbpass" runat="server" ControlToValidate="txtt_pass2" ControlToCompare="txtt_pass" ErrorMessage="两次密码输入不一致" Display="Dynamic" ForeColor="Red"></asp:CompareValidator>：
                                    </label>
                                    <div>
                                        <asp:TextBox ID="txtt_pass2" runat="server" TextMode="Password" MaxLength="100" CssClass="form-control"></asp:TextBox>
                                        <p class="help-block">再次输入新密码验证两次密码输入是否一致</p>
                                    </div>
                                    
                                </div>
                                <h5 class="page-header">密码找回设置</h5>
                                <div class="form-group">
                                    <label class=" control-label">
                                        找回提问 <span class='rd'>*</span>：
                                    </label>
                                    <div>
                                        <asp:TextBox ID="txtNewQuestion" runat="server"  MaxLength="100" CssClass="form-control"></asp:TextBox>
                                        <p class="help-block">定义密码找回时的提问</p>
                                    </div>
                                    <div>
                                       <asp:RequiredFieldValidator ID="rfvNewQuestion" 
                                           runat="server" ForeColor="Red" Display="Dynamic" 
                                            ErrorMessage="请填写新的提问" ControlToValidate="txtNewQuestion">
                                        </asp:RequiredFieldValidator>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class=" control-label">
                                        找回回答 <span class='rd'>*</span>：
                                    </label>
                                    <div>
                                        <asp:TextBox ID="txtNewAnswer" runat="server"  MaxLength="100" CssClass="form-control"></asp:TextBox>
                                        <p class="help-block">定义密码找回时的回答</p>
                                    </div>
                                    <div>
                                        <asp:RequiredFieldValidator ID="rfvNewAnswer" 
                                           runat="server" ForeColor="Red" Display="Dynamic" 
                                            ErrorMessage="请填写新的回答" ControlToValidate="txtNewAnswer">
                                        </asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="form-group">

                                    <asp:Button ID="btnSubmit" runat="server" Text="软件授权" CssClass="btn btn-block btn-default btn-primary btn-lg" OnClick="btnSubmit_Click"  />

                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--footer-->
        <uc1:RFooter runat="server" ID="RFooter" />
        <!-- /footer -->
    </div>

</body>
</html>

